package com.credit.jumu.calculator.utils;

import android.util.Log;

import java.util.LinkedHashMap;

/**
 * Created by Administrator on 2017/9/18.
 */

public class SignUtil {

    public static String getSign (LinkedHashMap<String, String> map) {
        String sign = "";
        for (String key : map.keySet()) {
            sign += key + "=" + map.get(key) + "&";
        }
        String substring = sign.substring(0, sign.length()-1);
        Log.i("sign: ", substring + "");
        return substring;
    }
}
